package com.kaili.basic.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.kaili.basic.pojo.dto.BaseSuggestionQueryDto;
import com.kaili.basic.pojo.entity.BaseSuggestion;
import com.kaili.basic.pojo.entity.BaseSuggestionExport;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created by renzhikun on 18-10-10.
 */
@Mapper
public interface BaseSuggestionMapper {

    void addBaseSuggestion(BaseSuggestion baseSuggestion);

    List<BaseSuggestion> queryBaseSuggestion(Pagination page, BaseSuggestionQueryDto dto);

    String getMaxSuggestionCode();

    List<BaseSuggestionExport> querySuggestionExport(Map<String, Object> map);
}
